package com.jili.service;

import com.jili.annotation.Component;

import java.util.Arrays;
import java.util.List;

/**
 *  ClassName: UserServiceImpl
 *  Package com.jili.service
 *  Description:
 *  @Author: 廖继礼
 *  @Create: 2025/6/5
 *  @Version: v1.0
 *
 */
@Component
public class UserServiceImpl implements UserService{

    public String getUser() {
        System.out.println("Executing getUser()");
        return "John Doe";
    }

    public List<String> getUsers() {
        System.out.println("Executing getUsers()");
        return Arrays.asList("Alice", "Bob", "Charlie");
    }
}
